import os


class Config:
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    SECRET_KEY = os.getenv("SECRET_KEY", "your_secret_key")  # 用于加密 session
    SQLALCHEMY_DATABASE_URI = os.getenv(
        "DATABASE_URL", "mysql+mysqlconnector://root:101100@192.168.117.130/deepls"
    )

    # 文件存储位置
    UPLOAD_FOLDER = "data"
